<%@page import="org.timeismoney.payment.model.Item"%>
<%@page import="org.timeismoney.payment.common.Constants"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<jsp:include page="../../js_css.jsp"></jsp:include>
<script src="../../resources/js/payment.js" type="text/javascript"></script>
<script src="../../resources/js/common.js" type="text/javascript"></script>
<title>欢迎进入学生缴费系统</title>
<script>
	$(function() {
		init4PaymentPage();
		$(".unitGroup").bind("change",unitSelectOnChanged);
		$("#searchStuBtn").bind("click",searchStuBtnOnClick);
		$("#searchStuByStuNoBtn").bind("click",searchStuNoBtnOnClick);
		$("#searchFinStatus").bind("click",searchFinStatusBtnOnClick);
	});
</script>
<style type="text/css">
	a{
		color: red;
	}
</style>
</head>
<body>
	<div id="main">
		<div class="float_left">
			<h2>请录入学号或定位相应班级进行筛选</h2>
		</div>
		<div class="float_right">
			<a href="../admin/">进入管理界面</a>
			<a href="../../logout.do">退出</a>
		</div>
		<div class="clear"></div>
		<div id="tabs">
			<ul>
				<li><a href="#tabs-1">录入学号</a>
				</li>
				<li><a href="#tabs-2">班级</a>
				</li>
				<li><a href="#tabs-3">缴费列表</a></li>
			</ul>
			<div id="tabs-1">
				<div class="search">
					<form action="">
						学年：
						<select name="schoolYearNo" style='width:110px;'>
						</select>
						&nbsp;学号：<input type="text" name="stuNo" id="stuNoInput"/>
						&nbsp;<input type="button" class="searchBtn" value="查询" id="searchStuByStuNoBtn"/>
						&nbsp;<input type="reset" value="重置"/>
					</form>
				</div>
				<div class="list">
					<div id="wrap">
						<table id="stuList" cellpadding="0" cellspacing="0" class="scroll">
						</table>
						<div id="stuListPager" class="scroll"></div>
					</div>
				</div>
			</div>
			<div id="tabs-2">
				<div class="search" style="display: none;">
					<form action="">
					<table>
							<tr>
								<td>
						学年：
						<select name="schoolYearNo" style='width:110px;'>
						</select>
						</td>
						<c:forEach items="${sessionScope.ATTR_KEY_UNIT_LEVELS}" var="level">
							<td>
							${level.levelName}：
							<select class="unitGroup" name="unitNo_${level.levelNo}" style='width:110px;'>
								<option selected="selected">...</option>
							</select>
							</td>
						</c:forEach>
						<td><input type="button" class="searchBtn" id="searchStuBtn" disabled="disabled" value="查询"/></td>
						</tr>
						</table>
					</form>
				</div>
				<div id="list-2" class="list">
					
				</div>
			</div>
			<div id="tabs-3">
				<div class="search" style="display: none;">
					<form action="">
						学年：
						<select name="schoolYearNo" style='width:110px;'>
						</select>
						&nbsp;学号：<input type="text" name="stuNo" id="finStuNoInput"/>
						&nbsp;<input type="button" class="searchBtn" value="查询" id="searchFinStatus"/>
						&nbsp;<input type="reset" value="重置"/>
					</form>
				</div>
				<div  class="list">
					<div id="paymentwrap">
						<table id="paymentList" cellpadding="0" cellspacing="0" class="scroll">
						</table>
						<div id="paymentListPager" class="scroll"></div>
					</div>
				</div>
			</div>
		</div>
		<div id="stuPaymentDetail" title="学生缴费清单">
			<table id="stuPaymentDetailList" cellpadding="0" cellspacing="0" class="scroll">
			</table>
			<div id="stuPaymentDetailListPager" class="scroll"></div>
		</div>
		<div id="changePwdDialog" title="修改密码" style="display: none;">
			<form action="../stu.do">
				<input type="hidden" name="method" value="pwd"/>
				<input type="hidden" name="stuNo"/>
				<fieldset>
					<!-- <label for="origPwd">原始密码</label>
					<input type="password" name="origPwd" id="origPwd" class="text ui-widget-content ui-corner-all" /> -->
					<label for="pwd">新密码</label>
					<input type="password" name="pwd" id="pwd" class="text ui-widget-content ui-corner-all" />
					<label for="confirm">确认密码</label>
					<input type="password" name="confirm" id="confirm" value="" class="text ui-widget-content ui-corner-all" />
				</fieldset>
			</form>
		</div>
		<div id="recordDescrption" title="转账单" style="display: none;">
			<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
			<span id="recordInfo"></span></p>
		</div>
	</div>
</body>
</html>